package com.zzty.zzlp.entity;

import java.util.List;

public class GroupInfo {

    private Integer id;
    private String name;
    private String lastMsg;
    private Integer unReadMsgCount;
    private List<ChatBuffer> unReadMsgs;
    private String redState;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLastMsg() {
        return lastMsg;
    }

    public void setLastMsg(String lastMsg) {
        this.lastMsg = lastMsg;
    }

    public Integer getUnReadMsgCount() {
        return unReadMsgCount;
    }

    public void setUnReadMsgCount(Integer unReadMsgCount) {
        this.unReadMsgCount = unReadMsgCount;
    }

    public List<ChatBuffer> getUnReadMsgs() {
        return unReadMsgs;
    }

    public void setUnReadMsgs(List<ChatBuffer> unReadMsgs) {
        this.unReadMsgs = unReadMsgs;
    }

    public String getRedState() {
        return redState;
    }

    public void setRedState(String redState) {
        this.redState = redState;
    }

    @Override
    public String toString() {
        return "GroupInfo{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", lastMsg='" + lastMsg + '\'' +
                ", unReadMsgCount=" + unReadMsgCount +
                ", unReadMsgs=" + unReadMsgs +
                ", redState='" + redState + '\'' +
                '}';
    }
}
